Skip to content

Gate pybamm behind sys_platform marker for Pyodide compatibility#17

Merged
milanofthe merged 1 commit into
masterfrom
feat/pyodide-compat
May 27, 2026
Merged

Gate pybamm behind sys_platform marker for Pyodide compatibility#17
milanofthe merged 1 commit into
masterfrom
feat/pyodide-compat

Conversation

@milanofthe
Copy link
Copy Markdown
Member

Tag pybamm with ; sys_platform != 'emscripten' so micropip in Pyodide skips it. The pure-Python thermal submodule stays importable; cells is re-exported defensively. A normal pip install on Linux/macOS/Windows still pulls everything eagerly — no extras required.

@milanofthe milanofthe merged commit 3b9b928 into master May 27, 2026
8 checks passed
@milanofthe milanofthe deleted the feat/pyodide-compat branch May 27, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant